<!DOCTYPE html>
<html>
    <head>
        <title><g:layoutTitle default="Grails" /></title>
        <link rel="stylesheet" href="${resource(dir:'css',file:'main.css')}" />
        <link rel="shortcut icon" href="${resource(dir:'images',file:'favicon.ico')}" type="image/x-icon" />
        <g:layoutHead />
        <g:javascript library="application" />
    </head>
    <body>
        <div id="spinner" class="spinner" style="display:none;">
            <img src="${resource(dir:'images',file:'spinner.gif')}" alt="${message(code:'spinner.alt',default:'Loading...')}" />
        </div>
        <div id="grailsLogo"><a href="/apbms/"><img src="${resource(dir:'images',file:'grails_logo.png')}" alt="Grails" border="0" /></a></div>
        <div class="use">
            <g:if test="${session?.usuario}">
                <span class="menuButton">Olá, <b>${session?.usuario?.login}</b></span>
                <span class="menuButton"><g:link class="config" controller="conta" action="show"><g:message code="conta.configurar.label"/></g:link></span>
                <span class="menuButton"><g:link class="logout" controller="login" action="login"><g:message code="conta.logout.label"/></g:link></span>
            </g:if>
        </div>
        <g:layoutBody />
    </body>
</html>